package com.atguigu.srb.core.service;

import com.atguigu.srb.core.pojo.entity.BorrowInfo;
import com.atguigu.srb.core.pojo.vo.BorrowInfoApprovalVO;
import com.atguigu.srb.core.pojo.vo.BorrowInfoDetailVo;
import com.atguigu.srb.core.pojo.vo.BorrowerInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 借款信息表 服务类
 * </p>
 *
 * @author Atguigu
 * @since 2022-10-24
 */
public interface BorrowInfoService extends IService<BorrowInfo> {

    void saveBorrowerInfo(BorrowInfo borrowInfo, String token);

    Integer getStatus(String token);

    void listPage(Page<BorrowerInfoVo> page, String key);

    BorrowInfoDetailVo getBorrowInfoDetailVo(String id);

    void borrowInfoApproval(BorrowInfoApprovalVO vo);
}
